# @configure_input@
all: all-redirect

SHELL           = @SHELL@
top_srcdir      = @top_srcdir@
srcdir          = @srcdir@
LIBS            = @LIBS@
MPILIBNAME      = @MPILIBNAME@

MPICHDIR = ../..

F77         = $(MPICHDIR)/bin/mpif77
# Both FFLAGS and LDFLAGS have been included in mpif77, set them to null here.
FFLAGS      =
LDFLAGS     = 
F77_COMPILE = $(F77) $(FFLAGS)
F77_LINK    = $(F77_COMPILE) $(LDFLAGS)

VPATH = .:${srcdir}
.SUFFIXES:
.SUFFIXES: .o .f .txt 
.f.o:
	$(F77_COMPILE) -c $<
.f:
	$(F77_LINK) -o $* $< $(LIBS)

Makefile: ${srcdir}/Makefile.in
	-cd ../../../ && \
	if [ -x config.status ] ; then CONFIG_FILES=examples/f77/Makefile CONFIG_HEADERS= ${SHELL} ./config.status ; fi
clean:
	-rm -f *.o ${srcdir}/*.o fpi
	-rm -f fpi.exe
	-rm -f *.lo ${srcdir}/*.lo
	-rm -f ${srcdir}/*.bb ${srcdir}/*.bbg ${srcdir}/*.da
distclean: clean
	rm -rf .deps
	-rm -f TAGS
maintainerclean:

all-redirect: fpi
coverage:
fpi: fpi.o  ../../lib/lib$(MPILIBNAME).a
	$(F77_LINK) -o fpi fpi.o $(LIBS)
htmldoc:
mandoc:
latexdoc:
# Dependencies
dependencies:
# End of Dependencies
SOURCES =  fpi.f
tags: TAGS
TAGS:${HEADERS} ${SOURCES}


